package com.damai.js.impl;

import javax.servlet.http.HttpServletRequest;

import com.damai.action.aop.Invoker;
import com.damai.js.JsUtil;

public class JsInvoker implements Invoker {

	private String content;

	public JsInvoker(String content) {
		this.content = content;
	}

	@Override
	public Object invoke(HttpServletRequest request, Object[] args) {
		return JsUtil.execute(content);
	}

}
